package pers.jg.rrsserver.entity

import jakarta.persistence.*

@Entity
@Table(name = "index_carousel", schema = "rrs")
open class IndexCarousel {
    @Id
    @Column(name = "id", nullable = false, length = 45)
    open var id: String? = null

    @Lob
    @Column(name = "img_data", nullable = false)
    open var imgData: String? = null

    @Column(name = "url", length = 256)
    open var url: String? = null

    @Column(name = "priority", nullable = false)
    open var priority: Int? = null
}